package com.nsgf.library.ui.widget;

import android.text.Editable;
import android.widget.TextView;
import com.nsgf.library.R;

public class TextWatcher implements android.text.TextWatcher {
    private TextView view;

    public void onTextChanged(CharSequence s, int start, int before,
                              int count) {
    }

    public void beforeTextChanged(CharSequence s, int start, int count,
                                  int after) {
    }

    public void afterTextChanged(Editable s) {
//        view = (TextView) findViewById(R.id.textnumber);
//        int num = s.length();
//        num = 300 - num;
//        view.setText(num + "/500");
    }
}